include(cc_library)
include(cc_test)

cc_library(
  NAME 
    request
  HDRS
    dit_request.h
    dit_request_params.h
    finish_reason.h
    incremental_decoder.h
    mm_codec.h
    mm_data.h
    mm_handler.h
    mm_input.h
    request_base.h
    request.h
    dit_request.h
    request_output.h
    dit_request_output.h
    dit_request_params.h
    request_params.h
    sequence.h
    sequence_logprob_state.h
    sequence_kv_state.h
    sequences_group.h
    request_state.h
    stopping_checker.h
    priority_comparator.h
  SRCS
    dit_request.cpp
    finish_reason.cpp
    incremental_decoder.cpp
    mm_codec.cpp
    mm_data.cpp
    mm_handler.cpp
    mm_input.cpp
    request.cpp
    dit_request.cpp
    request_output.cpp
    dit_request_output.cpp
    request_params.cpp
    dit_request_params.cpp
    sequence.cpp
    sequence_logprob_state.cpp
    sequence_kv_state.cpp
    sequences_group.cpp
    request_state.cpp
    stopping_checker.cpp
    priority_comparator.cpp
  DEPS
    :kv_cache
    :prefix_cache
    :block
    :tokenizer
    :chat_template
    glog::glog
    absl::strings
    absl::time
    proto::xllm_proto
    torch
    ${OpenCV_LIBS}
)

